Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODSemanticInterface


UsingPredispatchProc

The UsingPredispatchProc method specifies whether the predispatch method is currently being called whenever OpenDoc receives an Apple event.

void UsingPredispatchProc (in ODBoolean usingNotUsing);
usingNotUsing
kODTrue if the predispatch method is currently being called whenever OpenDoc receives an Apple event, otherwise kODFalse.
DISCUSSION
You must call this method, passing the value of kODTrue to the usingNotUsing parameter, before OpenDoc can call your semantic interface's CallPredispatchProc method.

OVERRIDING
If you subclass ODSemanticInterface, you can override this method. Your override method must call its inherited method at some point in your implementation (it does not matter where).

SEE ALSO
The ODSemanticInterface::CallPredispatchProc method (page 596).
"Installing Handlers, Accessors, and Callbacks" on page 436 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help